CreateWhiteList
Description
No description for this api.
Request Method
POST
Request Path
/apsara/route/Ddosprivate/CreateWhiteList
Request Parameters Common Parameters
Name | Location | Type | Required | Sample value | Description |
---|---|---|---|---|---|
DestinationIp | BODY | string | No | No sample value for this parameter. | target IP. description when adding bwaf source IP whitelist (that is, the Type parameter value is 12), the DestinationIp parameter value must be 0.0.0.0 by default. |
Type | BODY | integer | Yes | No sample value for this parameter. | whitelist types, including: 6: indicates that the host brute force cracked the whitelist 12: indicates bwaf source IP whitelist 15: indicates application attack whitelist |
Username | BODY | string | No | No sample value for this parameter. | add the user name of the whitelist record. |
regionId | BODY | string | Yes | No sample value for this parameter. | region id |
SourceIpStr | BODY | string | No | No sample value for this parameter. | source IP. |
version | BODY | string | No | 2016-01-01 | version of api |
Return data
Name | Type | Sample value | Description |
---|---|---|---|
RequestId | string | no demo value | request ID. |
Example
Successful Response example
{
"RequestId":"no demo value"
}
Failed Response example
{
"errorSample":
{
"resultCode":-1,
"resultMsg":"system error",
"result":null
}
}